	<?php $this->load->view('admin/partials/general_menu'); ?>
	
	<h3><?php echo lang('dataman.general.city'); ?></h3>
	<?php $buttons = array('buttons'=>array('add#city_add();') );?>
	<?php $this->load->view('admin/partials/buttons', $buttons ); ?>
	
	<table border="0" class="table-list">
		<thead>
			<tr>
				<th><?php echo lang('dataman.general.country.name'); ?></th>
				<th><?php echo lang('dataman.general.country.code'); ?></th>
				<th><?php echo lang('dataman.general.country'); ?></th>
				<th><?php echo lang('dataman.manage'); ?></th>
			</tr>
		</thead>
		
		<tbody>
			<?php foreach( $items as $item ): ?>
			<tr>
				<td><?php echo $item->name; ?></td>
				<td><?php echo $item->code; ?></td>
				<td><?php echo $item->country; ?></td>
				<td>
					<?php echo
					anchor('admin/dataman/general/city_edit/'. $item->id, 	lang('dataman.edit')) 					. ' | ' .
					anchor('admin/dataman/general/city_delete/'. $item->id, 	lang('dataman.delete'), array('class'=>'confirm')); ?>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>


